let typeMap = {'电力':1,'蒸汽':2,'水':3,'压缩空气':4};
let typeRevetMap = ['电力','蒸汽','水','压缩空气'];
let clearData = {
  "result": {
    "warningPointList": [],
    "unSetPointList": [
      {
        "pointId": 72,
        "pointName": "其他",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": null,
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 71,
        "pointName": "T1",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1,
          3
        ],
        "energyCalTypeList": [
          1,
          3
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 70,
        "pointName": "C1",
        "realPoint": true,
        "deviceEnergyTypeList": [
          2,
          4
        ],
        "energyCalTypeList": [
          2,
          4
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 67,
        "pointName": "11111",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": null,
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 54,
        "pointName": "TR2",
        "realPoint": true,
        "deviceEnergyTypeList": null,
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 53,
        "pointName": "TR1",
        "realPoint": true,
        "deviceEnergyTypeList": [
          3
        ],
        "energyCalTypeList": [
          3
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 51,
        "pointName": "Warehouse Air Condition",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 50,
        "pointName": "Warehouse Lighting",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 48,
        "pointName": "Admin Lighting",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 47,
        "pointName": "Canteen",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 46,
        "pointName": "Admin Air Condition",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 44,
        "pointName": "Lighting",
        "realPoint": false,
        "deviceEnergyTypeList": null,
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 39,
        "pointName": "P3021",
        "realPoint": true,
        "deviceEnergyTypeList": null,
        "energyCalTypeList": null,
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 38,
        "pointName": "P3011",
        "realPoint": false,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 35,
        "pointName": "P2011",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 34,
        "pointName": "P1012",
        "realPoint": true,
        "deviceEnergyTypeList": null,
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 33,
        "pointName": "P1011",
        "realPoint": true,
        "deviceEnergyTypeList": null,
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 32,
        "pointName": "T403",
        "realPoint": true,
        "deviceEnergyTypeList": null,
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 31,
        "pointName": "T402",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 30,
        "pointName": "T401",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 29,
        "pointName": "T303",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 28,
        "pointName": "T302",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 27,
        "pointName": "T301",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 26,
        "pointName": "T203",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 25,
        "pointName": "T202",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 24,
        "pointName": "T201",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 23,
        "pointName": "Heat Belt D1",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 22,
        "pointName": "Heat Belt C1 -变压器",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": true,
        "children": null
      },
      {
        "pointId": 21,
        "pointName": "Heat Belt B1",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 20,
        "pointName": "Heat Belt A1",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          2
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 19,
        "pointName": "Heat Belt",
        "realPoint": true,
        "deviceEnergyTypeList": null,
        "energyCalTypeList": [
          1,
          2
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 18,
        "pointName": "Filling Line D ",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": true,
        "children": null
      },
      {
        "pointId": 17,
        "pointName": "Filling line B",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 16,
        "pointName": "Filling line A -变压器",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1,
          2
        ],
        "energyCalTypeList": [
          1,
          2
        ],
        "transformerPoint": true,
        "children": null
      },
      {
        "pointId": 14,
        "pointName": "Filling Line C -变压器",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 13,
        "pointName": "Blending",
        "realPoint": false,
        "deviceEnergyTypeList": null,
        "energyCalTypeList": [
          1,
          4
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 4,
        "pointName": "机组#4",
        "realPoint": true,
        "deviceEnergyTypeList": null,
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 2,
        "pointName": "ADL002",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      },
      {
        "pointId": 1,
        "pointName": "机组#1",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": null
      }
    ],
    "pointList": [
      {
        "pointId": 68,
        "pointName": "主诊楼",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1
        ],
        "transformerPoint": false,
        "children": [
          {
            "pointId": 49,
            "pointName": "消化内科",
            "realPoint": true,
            "deviceEnergyTypeList": null,
            "energyCalTypeList": [
              1
            ],
            "transformerPoint": false,
            "children": [
              {
                "pointId": 41,
                "pointName": "消化内科一诊室",
                "realPoint": true,
                "deviceEnergyTypeList": [
                  1
                ],
                "energyCalTypeList": [
                  1
                ],
                "transformerPoint": false,
                "children": []
              },
              {
                "pointId": 40,
                "pointName": "消化内科二诊室",
                "realPoint": true,
                "deviceEnergyTypeList": null,
                "energyCalTypeList": null,
                "transformerPoint": false,
                "children": []
              }
            ]
          },
          {
            "pointId": 45,
            "pointName": "普通外科",
            "realPoint": false,
            "deviceEnergyTypeList": null,
            "energyCalTypeList": [
              1,
              2,
              3
            ],
            "transformerPoint": false,
            "children": [
              {
                "pointId": 36,
                "pointName": "普通外科二诊室",
                "realPoint": true,
                "deviceEnergyTypeList": [
                  1
                ],
                "energyCalTypeList": [
                  1
                ],
                "transformerPoint": false,
                "children": []
              },
              {
                "pointId": 37,
                "pointName": "普通外科一诊室",
                "realPoint": true,
                "deviceEnergyTypeList": [
                  1
                ],
                "energyCalTypeList": [
                  1
                ],
                "transformerPoint": false,
                "children": []
              }
            ]
          },
          {
            "pointId": 59,
            "pointName": "呼吸科",
            "realPoint": false,
            "deviceEnergyTypeList": null,
            "energyCalTypeList": [
              1,
              2
            ],
            "transformerPoint": false,
            "children": [
              {
                "pointId": 43,
                "pointName": "呼吸科1诊室",
                "realPoint": true,
                "deviceEnergyTypeList": [
                  1
                ],
                "energyCalTypeList": [
                  1
                ],
                "transformerPoint": false,
                "children": []
              },
              {
                "pointId": 42,
                "pointName": "呼吸科二诊室",
                "realPoint": true,
                "deviceEnergyTypeList": [
                  1
                ],
                "energyCalTypeList": [
                  1
                ],
                "transformerPoint": false,
                "children": []
              }
            ]
          }
        ]
      },
      {
        "pointId": 52,
        "pointName": "住院楼",
        "realPoint": true,
        "deviceEnergyTypeList": [
          1
        ],
        "energyCalTypeList": [
          1,
          2,
          3,
          4
        ],
        "transformerPoint": false,
        "children": [
          {
            "pointId": 15,
            "pointName": "住院部",
            "realPoint": false,
            "deviceEnergyTypeList": null,
            "energyCalTypeList": [
              1,
              3,
              4
            ],
            "transformerPoint": false,
            "children": [
              {
                "pointId": 73,
                "pointName": "住院部二层科室",
                "realPoint": true,
                "deviceEnergyTypeList": [
                  1
                ],
                "energyCalTypeList": [
                  1
                ],
                "transformerPoint": false,
                "children": []
              },
              {
                "pointId": 74,
                "pointName": "住院部一层科室",
                "realPoint": true,
                "deviceEnergyTypeList": [
                  1
                ],
                "energyCalTypeList": [
                  1,
                  3
                ],
                "transformerPoint": false,
                "children": []
              }
            ]
          }
        ]
      }
    ],
    "favorPointList": []
  }
};

export {
  typeMap,clearData,typeRevetMap
}
